package com.lushu.chapitre1.resources {
import com.lushu.chapitre1.net.services.GameInfoService;

public class GameDataLoader {
    public function GameDataLoader() {
        getGameInfoData();
        getGameDescriptions();
    }

    private function getGameInfoData():void {
        GameInfoService.getGameInfo(onGetGameInfoDataResult, onGetGameInfoDataFault);
    }

    private function getGameDescriptions():void {

    }


    private function onGetGameInfoDataResult(gameInfo:Object):void {
        trace(gameInfo);
    }

    private function onGetGameInfoDataFault(fault:Object):void {
        trace(fault);
    }
}
}